package com.linkhub.oms.admin.modules.product.excel.enums;

import com.linkhub.oms.component.excel.converter.ExcelCellEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: PackagingMaterialTypeCellMappingEnum
 * @Author: echo
 * @Date: 2024/5/19 22:19
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum PackagingMaterialTypeCellMappingEnum implements ExcelCellEnumConvert<String, Integer> {
    AIRPLANE_BOX("Airplane Box", 1),
    FLAT_BOX("Flat Box", 2),
    CUSHION_BAG("Cushion Bag", 3),
    STICKER("Sticker", 4),
    TAPE("Tape", 5),
    LINING_PAPER("Lining Paper", 6),

    C_AIRPLANE_BOX("飞机盒", 1),
    C_FLAT_BOX("平口箱", 2),
    C_CUSHION_BAG("缓冲袋", 3),
    C_STICKER("不干胶", 4),
    C_TAPE("胶带", 5),
    C_LINING_PAPER("衬纸", 6),


    ;

    private final String cellData;

    private final Integer convertValue;

    @Override
    public String getCode() {
        return this.cellData;
    }

    @Override
    public Integer getValue() {

        return this.getConvertValue();
    }
}
